<style>
.subcate{border-bottom:1px dashed #999;padding-bottom:10px;}
.subcate > div{display:inline-block;width:160px;}
.subcate a{display:inline-block;width:100px;}
.subcate span{display:inline-block;width:50px;}
</style>

<dl class="n-box">
	<dt class="n-box-head">
		<b>公共号浏览</b>
	</dt>
	<dd class="n-box-body">
	
		<div class="n-block-bg" style="padding-top:30px;min-height: 800px;">
			<?php
			foreach($data as $key=>$val){
				?>
				<div>
					
				<h3><?=$val['name']?></h3>
				<div class="subcate">
				<?php
				foreach($val['sub'] as $key1=>$val1){
					?>
					<div>
						<a href="/mprank/mplist.html?cid=<?=$val1['id']?>"><?=$val1['name']?></a>
						<span><?=$val1['num']?></span>
					</div>
					<?php
				}
				?>
				</div>
				<?php
				?>
				
				
				</div>
			<?php
			}
			?>
			<div></div>
		</div>	
	</dd>
</dl>
